from django.urls import path
from .views import SegmentScheduleListView, UpdateSegmentScheduleView, CreateSegmentScheduleView, \
    BatchImportSegmentScheduleView

urlpatterns = [
    # 其他路由...
    path('getSchedules', SegmentScheduleListView.as_view(), name='getSchedules'),
    path('updateSchedules', UpdateSegmentScheduleView.as_view(), name='updateSchedules'),
    path('createSchedules', CreateSegmentScheduleView.as_view(), name='createSchedules'),
    path('importSchedules', BatchImportSegmentScheduleView.as_view(), name='importSchedules')
]